package com.dhecp.project.logstics.mapper;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.business.domain.LogisticsMmodeCk;
import com.dhecp.project.business.domain.LogisticsMmodeCk;

import java.util.List;
import java.util.Map;


/**
 * DAO
 * @author fxz
 */
public interface LogsticsMmodeCkMapper extends GenericDao<LogisticsMmodeCk, String>  {

	/**
	 * 查询实体
	 * @author Jason
	 */
	List<LogisticsMmodeCk> findLogisticsMmodeCk(Map<String, Object> params);

	/**
	 * 查询单个实体
	 * @author Jason
	 */
	LogisticsMmodeCk queryFirstByGuid(Map<String, Object> params);

	/**
	 * 新增实体
	 * @author Jason
	 */
	int insertLogisticsMmodeCk(LogisticsMmodeCk entity);

	/**
	 * 通过guid修改实体
	 * @author Jason
	 */
	int updateByGuid(LogisticsMmodeCk entity);

	/**
	 * 通过LogisticsMmodeGuid删除数据
	 * @param logisticsMmodeDetails
	 * @return
	 */
	int deleteByLogisticsMmodeGuid(LogisticsMmodeCk logisticsMmodeDetails);

	/**
	 * 批量新增详情
	 * @param list
	 * @return
	 */
	int insertLogisticsMmodeCkBatch(List<LogisticsMmodeCk> list);

	/**
	 * 删除已有的详情数据
	 * @param params
	 * @return
	 */
	int deleteLogisticsMmodeCkMap(Map<String, Object> params);

}
